import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import pin from '@/components/pin'
import info from '@/components/info'
import goodsinfo from '@/components/goodsinfo'
import ruler from '@/components/ruler'
import caninfo from '@/components/caninfo'
import wendajia from '@/components/wendajia'
import pingjia from '@/components/pingjia'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    }, {
      path: '/pin',
      name: 'pin',
      component: pin
    }, {
      path: '/info',
      name: 'info',
      component: info
    }, {
      path: '/goodsinfo',
      name: 'goodsinfo',
      component: goodsinfo
    }, {
      path: '/ruler',
      name: 'ruler',
      component: ruler
    }, {
      path: '/caninfo',
      name: 'caninfo',
      component: caninfo
    }, {
      path: '/wendajia',
      name: 'wendajia',
      component: wendajia
    }, {
      path: '/pingjia',
      name: 'pingjia',
      component: pingjia
    }
  ]
})
